﻿<%@ Page EnableSessionState="false" Language="C#" AutoEventWireup="true" CodeBehind="Progress.aspx.cs" Inherits="IWebApp2.Progress" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
   <title>Untitled Page</title>
 

   
        <style type="text/css">
            #form2
            {
                margin-top: 8px;
            }
        </style>
  
    <br />
    <br/>
    
    
    <!--get progress.js from location-->
    <script type="text/javascript" src="JS-CSS/Progress.js"></script>
    
    
    
    
    <!-- this script will redirect the page to SignedIn.htm once progress bar has completed-->
    <script type="text/javascript">
    function redirectpage(){
    //call Start() in Code Behind
    PageMethods.Start();
    //new location
    window.location="http://localhost:2640/SignedIn.htm";
    }
    //function in Progress.js
    var bar1= createBar(200,10,'white',1,'black','blue',50,7,2,"redirectpage()");
    </script>                                                <!-- 2 indicates the number of times moving bars will execute within the progress bar-->
   
    
   
</head>
  <form id="form2" runat="server">
    <body bgcolor="#f1f1f1" >
   &nbsp;&nbsp; &nbsp;<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="10px" 
        Text="      Please wait while your request is processed..." Font-Names="Arial" 
            Height="20px" style="margin-top: 15px; margin-bottom: 0px" Width="228px"></asp:Label>

  
    <div>
        <table style="width: 61%; height: 80px; margin-left: 14px; margin-top: 0px;">
            <tr>
                <td >
                <!--embed a flash file here (yehba logo)-->
                <embed src="Images/loading image.swf" quality="high" swliveconnect="FALSE" type="application/x-shockwave-flash" 
                        pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" 
                        style="height: 95px; width: 239px; margin-top: -15px;">
                </embed>
               </td>
            </tr>
        </table>
    </div>
  
        
    <p>
        &nbsp;</p>
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
    </asp:ScriptManager>
    <p style="background-color: #f1f1f1">
        &nbsp;</p>
    <p>
        &nbsp;</p>
    
    </form>
</body>
</html>
